Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Account Refresh Bugfix #105

Closed

Conversation

MichalikSJ21
Copy link
Contributor

Fixed bug where method is_accounts_refresh_complete returned the wrong value. The method previously return true if every account did not have its' sync in progress. I removed the not from before the return statement so that now it returns true if all accounts have started their sync. I am relatively certain that this is what the code should do, please close this branch if not.

…ong value. The method previously return true if every account did not have its' sync in progress. I removed the `not` from before the return statement so that now it returns true if all accounts have started their sync. I am relatively certain that this is what the code should do, please close this branch if not.
Copy link
Owner

@hammem hammem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MichalikSJ21 , this method is intended to return true once all accounts have completed a refresh, rather than all initiating a sync.

The method request_account_refresh() will return True if the refresh initiation was successful.

@MichalikSJ21
Copy link
Contributor Author

@hammem That makes sense, thank you for clarifying that. I'll close this branch, I think that my code does not accomplish that result. Thanks for clarifying that for me!

@hammem
Copy link
Owner

hammem commented May 11, 2024

No worries! Thanks for the second set of eyes on the code 👀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants